package com.hamilton.erik.pt.core.dao;

import java.sql.SQLException;
import java.util.List;

import com.hamilton.erik.pt.core.model.Animal;

public interface AnimalDAO {

	public int insertAnimal(Animal animal) throws SQLException;
	public boolean deleteAnimal(Long animalId) throws SQLException;
	public Animal findAnimal(Long id) throws SQLException;
	public int updateAnimal(Animal animal) throws SQLException;
	
	public List<Animal> getAllAnimals(String userName) throws SQLException;
	public boolean deleteAllAnimals(String userName) throws SQLException;
	
}
